<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ec: ec::TcpServerDispatcher Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ec
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>ec</b></li><li class="navelem"><a class="el" href="classec_1_1TcpServerDispatcher.html">TcpServerDispatcher</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classec_1_1TcpServerDispatcher-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ec::TcpServerDispatcher Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>TCP服务器会话调度管理器  
 <a href="classec_1_1TcpServerDispatcher.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="tcpServerDispatcher_8h_source.html">tcpServerDispatcher.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ec::TcpServerDispatcher:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classec_1_1TcpServerDispatcher.png" usemap="#ec::TcpServerDispatcher_map" alt=""/>
  <map id="ec::TcpServerDispatcher_map" name="ec::TcpServerDispatcher_map">
<area href="classec_1_1FrameLoop.html" title="拥有幀定时器的事件循环 " alt="ec::FrameLoop" shape="rect" coords="0,56,153,80"/>
<area href="classec_1_1Loop.html" title="事件循环，对event_base的封装。 " alt="ec::Loop" shape="rect" coords="0,0,153,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0fcac28c897fdccaabf54ddd1f718caa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0fcac28c897fdccaabf54ddd1f718caa"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TcpServerDispatcher</b> (<a class="el" href="classec_1_1TcpServer.html">TcpServer</a> *<a class="el" href="classec_1_1TcpServerDispatcher.html#a39d87af5d64dda19f3312c37456c2418">server</a>)</td></tr>
<tr class="separator:a0fcac28c897fdccaabf54ddd1f718caa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39d87af5d64dda19f3312c37456c2418"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a39d87af5d64dda19f3312c37456c2418"></a>
<a class="el" href="classec_1_1TcpServer.html">ec::TcpServer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1TcpServerDispatcher.html#a39d87af5d64dda19f3312c37456c2418">server</a> () const </td></tr>
<tr class="memdesc:a39d87af5d64dda19f3312c37456c2418"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回所在TCPServer <br/></td></tr>
<tr class="separator:a39d87af5d64dda19f3312c37456c2418"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdc755e605191a51778baddf03b425cd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acdc755e605191a51778baddf03b425cd"></a>
ec::TcpSessionPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1TcpServerDispatcher.html#acdc755e605191a51778baddf03b425cd">getSession</a> (ec::SessionId <a class="el" href="classec_1_1Loop.html#ae60730f9a1e07de6039de8008293769a">id</a>)</td></tr>
<tr class="memdesc:acdc755e605191a51778baddf03b425cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取TCP监听服务器 <br/></td></tr>
<tr class="separator:acdc755e605191a51778baddf03b425cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a0971bd2d689ddb929dafc14a1f67c3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a0971bd2d689ddb929dafc14a1f67c3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addSession</b> (ec::SessionId <a class="el" href="classec_1_1Loop.html#ae60730f9a1e07de6039de8008293769a">id</a>, ec::SocketFd sock)</td></tr>
<tr class="separator:a4a0971bd2d689ddb929dafc14a1f67c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a321009d6e4803ec04ecfddb5af7988de"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a321009d6e4803ec04ecfddb5af7988de"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeSession</b> (ec::SessionId <a class="el" href="classec_1_1Loop.html#ae60730f9a1e07de6039de8008293769a">id</a>)</td></tr>
<tr class="separator:a321009d6e4803ec04ecfddb5af7988de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classec_1_1FrameLoop"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classec_1_1FrameLoop')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classec_1_1FrameLoop.html">ec::FrameLoop</a></td></tr>
<tr class="memitem:a95cd06861a99da652b30661e5238398c inherit pub_methods_classec_1_1FrameLoop"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1FrameLoop.html#a95cd06861a99da652b30661e5238398c">setFrameInterval</a> (uint32_t interval)</td></tr>
<tr class="memdesc:a95cd06861a99da652b30661e5238398c inherit pub_methods_classec_1_1FrameLoop"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置幀时长(毫秒)  <a href="#a95cd06861a99da652b30661e5238398c">More...</a><br/></td></tr>
<tr class="separator:a95cd06861a99da652b30661e5238398c inherit pub_methods_classec_1_1FrameLoop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9390e3b33b561bd958a63059d67dd286 inherit pub_methods_classec_1_1FrameLoop"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9390e3b33b561bd958a63059d67dd286"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1FrameLoop.html#a9390e3b33b561bd958a63059d67dd286">curFrameRound</a> () const </td></tr>
<tr class="memdesc:a9390e3b33b561bd958a63059d67dd286 inherit pub_methods_classec_1_1FrameLoop"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前幀周期 <br/></td></tr>
<tr class="separator:a9390e3b33b561bd958a63059d67dd286 inherit pub_methods_classec_1_1FrameLoop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classec_1_1Loop"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classec_1_1Loop')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classec_1_1Loop.html">ec::Loop</a></td></tr>
<tr class="memitem:ab104699b3b40815f32e5272e85fb01d7 inherit pub_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab104699b3b40815f32e5272e85fb01d7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#ab104699b3b40815f32e5272e85fb01d7">operator event_base *</a> () const </td></tr>
<tr class="memdesc:ab104699b3b40815f32e5272e85fb01d7 inherit pub_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">转换为event_base *指针 <br/></td></tr>
<tr class="separator:ab104699b3b40815f32e5272e85fb01d7 inherit pub_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af62f9eae725eda092cc52168bdcb9b53 inherit pub_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af62f9eae725eda092cc52168bdcb9b53"></a>
event_base *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#af62f9eae725eda092cc52168bdcb9b53">ev</a> () const </td></tr>
<tr class="memdesc:af62f9eae725eda092cc52168bdcb9b53 inherit pub_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取event_base *指针 <br/></td></tr>
<tr class="separator:af62f9eae725eda092cc52168bdcb9b53 inherit pub_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae60730f9a1e07de6039de8008293769a inherit pub_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae60730f9a1e07de6039de8008293769a"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#ae60730f9a1e07de6039de8008293769a">id</a> () const </td></tr>
<tr class="memdesc:ae60730f9a1e07de6039de8008293769a inherit pub_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">获得自动生成的Id号 <br/></td></tr>
<tr class="separator:ae60730f9a1e07de6039de8008293769a inherit pub_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a134b0eb8eaa83270eb375df11160bea5 inherit pub_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a134b0eb8eaa83270eb375df11160bea5"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#a134b0eb8eaa83270eb375df11160bea5">isThread</a> () const </td></tr>
<tr class="memdesc:a134b0eb8eaa83270eb375df11160bea5 inherit pub_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否是以新线程在运行 <br/></td></tr>
<tr class="separator:a134b0eb8eaa83270eb375df11160bea5 inherit pub_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e4e5650fbd4f1716429205c84ca51fd inherit pub_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#a5e4e5650fbd4f1716429205c84ca51fd">start</a> (bool newThread=true)</td></tr>
<tr class="memdesc:a5e4e5650fbd4f1716429205c84ca51fd inherit pub_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">启动事件循环  <a href="#a5e4e5650fbd4f1716429205c84ca51fd">More...</a><br/></td></tr>
<tr class="separator:a5e4e5650fbd4f1716429205c84ca51fd inherit pub_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a476329b5b1b32a9d91957fdf820ed35b inherit pub_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#a476329b5b1b32a9d91957fdf820ed35b">wait</a> ()</td></tr>
<tr class="memdesc:a476329b5b1b32a9d91957fdf820ed35b inherit pub_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">等待时间循环(线程)结束  <a href="#a476329b5b1b32a9d91957fdf820ed35b">More...</a><br/></td></tr>
<tr class="separator:a476329b5b1b32a9d91957fdf820ed35b inherit pub_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa96af9467ac7882e3cea7a4dcb51005a inherit pub_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#aa96af9467ac7882e3cea7a4dcb51005a">stop</a> (bool waiting=true)</td></tr>
<tr class="memdesc:aa96af9467ac7882e3cea7a4dcb51005a inherit pub_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">停止事件循环  <a href="#aa96af9467ac7882e3cea7a4dcb51005a">More...</a><br/></td></tr>
<tr class="separator:aa96af9467ac7882e3cea7a4dcb51005a inherit pub_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ab4160764b265dc9a629a55fdd40ff1d3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1TcpServerDispatcher.html#ab4160764b265dc9a629a55fdd40ff1d3">onFrame</a> ()</td></tr>
<tr class="separator:ab4160764b265dc9a629a55fdd40ff1d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classec_1_1FrameLoop"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classec_1_1FrameLoop')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classec_1_1FrameLoop.html">ec::FrameLoop</a></td></tr>
<tr class="memitem:a8b20b1f76ed9020484a73faa80e35eb5 inherit pro_methods_classec_1_1FrameLoop"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1FrameLoop.html#a8b20b1f76ed9020484a73faa80e35eb5">onBeforeLoop</a> ()</td></tr>
<tr class="separator:a8b20b1f76ed9020484a73faa80e35eb5 inherit pro_methods_classec_1_1FrameLoop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classec_1_1Loop"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classec_1_1Loop')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classec_1_1Loop.html">ec::Loop</a></td></tr>
<tr class="memitem:ab09acf916e8d3ad94cc2ceb483b1cac6 inherit pro_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#ab09acf916e8d3ad94cc2ceb483b1cac6">onBeforeStart</a> ()</td></tr>
<tr class="memdesc:ab09acf916e8d3ad94cc2ceb483b1cac6 inherit pro_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">启动前触发  <a href="#ab09acf916e8d3ad94cc2ceb483b1cac6">More...</a><br/></td></tr>
<tr class="separator:ab09acf916e8d3ad94cc2ceb483b1cac6 inherit pro_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d3fec1a0d05dfdb73ceee20b6fd55b0 inherit pro_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#a9d3fec1a0d05dfdb73ceee20b6fd55b0">onAfterLoop</a> ()</td></tr>
<tr class="memdesc:a9d3fec1a0d05dfdb73ceee20b6fd55b0 inherit pro_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">事件循环结束后触发  <a href="#a9d3fec1a0d05dfdb73ceee20b6fd55b0">More...</a><br/></td></tr>
<tr class="separator:a9d3fec1a0d05dfdb73ceee20b6fd55b0 inherit pro_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa52a4ac0232b307a08e7857748ebdd3f inherit pro_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#aa52a4ac0232b307a08e7857748ebdd3f">onAfterStop</a> ()</td></tr>
<tr class="memdesc:aa52a4ac0232b307a08e7857748ebdd3f inherit pro_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">停止后触发  <a href="#aa52a4ac0232b307a08e7857748ebdd3f">More...</a><br/></td></tr>
<tr class="separator:aa52a4ac0232b307a08e7857748ebdd3f inherit pro_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classec_1_1Loop"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classec_1_1Loop')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classec_1_1Loop.html">ec::Loop</a></td></tr>
<tr class="memitem:abb797bdabdefdff5b6cc3f2b1b249747 inherit pub_static_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classec_1_1Loop.html">Loop</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#abb797bdabdefdff5b6cc3f2b1b249747">curLoop</a> ()</td></tr>
<tr class="memdesc:abb797bdabdefdff5b6cc3f2b1b249747 inherit pub_static_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回当前线程的Loop  <a href="#abb797bdabdefdff5b6cc3f2b1b249747">More...</a><br/></td></tr>
<tr class="separator:abb797bdabdefdff5b6cc3f2b1b249747 inherit pub_static_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a459fada2bbc382637fab88b3ce914d46 inherit pub_static_methods_classec_1_1Loop"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classec_1_1Loop.html">Loop</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classec_1_1Loop.html#a459fada2bbc382637fab88b3ce914d46">get</a> (uint32_t <a class="el" href="classec_1_1Loop.html#ae60730f9a1e07de6039de8008293769a">id</a>)</td></tr>
<tr class="memdesc:a459fada2bbc382637fab88b3ce914d46 inherit pub_static_methods_classec_1_1Loop"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据id查找Loop  <a href="#a459fada2bbc382637fab88b3ce914d46">More...</a><br/></td></tr>
<tr class="separator:a459fada2bbc382637fab88b3ce914d46 inherit pub_static_methods_classec_1_1Loop"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>TCP服务器会话调度管理器 </p>
<p>TcpServer负责监听连接，然后分配给TcpServerDispatcher管理 </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classec_1_1TcpServer.html" title="TCP服务器 ">ec::TcpServer</a> </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab4160764b265dc9a629a55fdd40ff1d3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ec::TcpServerDispatcher::onFrame </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classec_1_1FrameLoop.html#ae4d174514e47953d75071101c49aee06">ec::FrameLoop</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/ec/<a class="el" href="tcpServerDispatcher_8h_source.html">tcpServerDispatcher.h</a></li>
<li>src/tcpServerDispatcher.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jul 12 2016 14:15:09 for ec by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
